package com.dy.domain;

public class User {
    private int uId;//用户ID，自增
    private String uName;//用户姓名
    private String gender;//用户性别
    private int age;//用户年龄
    private String phone;//用户手机号
    private String password;//用户密码
    private String uAddress;//用户送餐地址
    private String head;//用户头像
    private String birthday;//用户生日
    private int vip;//用户会员等级，默认为0

    @Override
    public String toString() {
        return "User{" +
                "uId=" + uId +
                ", uName='" + uName + '\'' +
                ", gender='" + gender + '\'' +
                ", age=" + age +
                ", phone='" + phone + '\'' +
                ", password='" + password + '\'' +
                ", uAddress='" + uAddress + '\'' +
                ", head='" + head + '\'' +
                ", birthday='" + birthday + '\'' +
                ", vip=" + vip +
                '}';
    }

    public User() {
    }

    public User(int uId, String uName, String gender, int age, String phone, String password, String uAddress, String head, String birthday, int vip) {
        this.uId = uId;
        this.uName = uName;
        this.gender = gender;
        this.age = age;
        this.phone = phone;
        this.password = password;
        this.uAddress = uAddress;
        this.head = head;
        this.birthday = birthday;
        this.vip = vip;
    }

    public int getuId() {
        return uId;
    }

    public void setuId(int uId) {
        this.uId = uId;
    }

    public String getuName() {
        return uName;
    }

    public void setuName(String uName) {
        this.uName = uName;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getuAddress() {
        return uAddress;
    }

    public void setuAddress(String uAddress) {
        this.uAddress = uAddress;
    }

    public String getHead() {
        return head;
    }

    public void setHead(String head) {
        this.head = head;
    }

    public String getBirthday() {
        return birthday;
    }

    public void setBirthday(String birthday) {
        this.birthday = birthday;
    }

    public int getVip() {
        return vip;
    }

    public void setVip(int vip) {
        this.vip = vip;
    }
}
